package org.offsync.rich

import org.offsync.util.Window
import java.nio.charset.Charset

case class RichString(val value: String) {
  def window(implicit charset: Charset): Window[Byte] = new Window[Byte](value.getBytes(charset), 0, value.getBytes.length)
}
